package com.fzy.client.presenter;

import com.fzy.client.TestEventBus;
import com.fzy.client.manager.RoleManager;
import com.fzy.client.model.RoleProvidesKey;
import com.fzy.client.view.FlowView;
import com.fzy.client.view.i.IFlowView;
import com.google.inject.Inject;
import com.mvp4g.client.annotation.Presenter;
import com.mvp4g.client.presenter.BasePresenter;

@Presenter(view = FlowView.class)
public class FlowPresenter extends BasePresenter<IFlowView, TestEventBus> {

	@Inject
	RoleProvidesKey roleProvidesKey;

	@Inject
	RoleManager roleManager;

	public void onStart() {
		view.initTable(roleProvidesKey, roleManager.getRoleProvider());

	}
}
